/**
 * 
 */
package model;

/**
 * @author Michael & Pierre
 *
 */
/**
 * Class which represents a user
 */
public class User {
	
	private String username;
	private String host;
	
	/**
	 * @param username username of the user
	 * @param host hostname of the user's device
	 */
	public User(String username, String host) {
		this.username = username;
		this.host = host;
	}

	public String getUsername() {
		return username;
	}

	/**
	 * 
	 * @return Device's hostname of the user
	 */
	public String getHost() {
		return host;
	}
	
	public String toString() {
		return username + "@" + host;
	}
}
